package org.hive.events
{
	import flash.events.Event;
	import org.hive.state.State;
	import org.hive.sequence.ActionSequence;

	public class ManagerEvent extends Event
	{
		public static var ON_CHANGED :String = "managerChanged";
		public var switchState : Boolean;
		public var nextSequence:ActionSequence;
		public var content:State;
		
		public function ManagerEvent(type:String, sequence:ActionSequence=null, contentSwitch:Boolean=false, newState:State=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			switchState = contentSwitch;
			nextSequence  = sequence;
			content 	  = newState;
		}
	}
}